/*
 * @FileName: 
 * @Version: 
 * @Author: 王杨洋
 * @Date: 2021-03-26 20:39:42
 */
#ifndef INCLUDE_DEVICE_MANAGE_H
#define INCLUDE_DEVICE_MANAGE_H

extern void AddDevice(int sockfd, const char *username, int nameLen);
extern void QueryDevice(int sockfd, const char *username, int nameLen, int *deviceNum, char *data);
extern void NameDevice(int sockfd, const char *username, int nameLen, const char *mac, const char *devicename, int deviceNameLen);
extern void SendDeviceCommand(int sockfd, int commandType, int deviceType, int command, const char *mac, ...);

#endif